package com.dmw.vo.homePageVO;

import java.io.Serializable;

/**
 * 根据token返回用户信息VO
 */
public class UserInfoOfTokenVO implements Serializable {
    /*
        output
     */
    private Long userId;//用户主键
    private String phone;//邮箱/手机号
    private String wxUserId;//微信号
    private String realName;//真实用户姓名
    private String nickName;//用户昵称
    private Integer sex;//性别(0:男,1:女)
    private String idCard;//身份证
    private String birthday;//生日
    private String createdTime;//创建时间
    private String updatedTime;//更新时间
    private String hobby;//爱好
    private Long imageId;//头像ID
    private String imgUrl;//头像图片URL

    @Override
    public String toString() {
        return "UserInfoOfTokenVO{" +
                "userId=" + userId +
                ", phone='" + phone + '\'' +
                ", wxUserId='" + wxUserId + '\'' +
                ", realName='" + realName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", sex=" + sex +
                ", idCard='" + idCard + '\'' +
                ", birthday='" + birthday + '\'' +
                ", createdTime='" + createdTime + '\'' +
                ", updatedTime='" + updatedTime + '\'' +
                ", hobby='" + hobby + '\'' +
                ", imageId=" + imageId +
                ", imgUrl='" + imgUrl + '\'' +
                '}';
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(String wxUserId) {
        this.wxUserId = wxUserId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public Long getImageId() {
        return imageId;
    }

    public void setImageId(Long imageId) {
        this.imageId = imageId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
}
